#ifndef PROC_INFO_H_INCLUDED
#define PROC_INFO_H_INCLUDED

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <pwd.h>
#include <sys/types.h>
#include <string.h>
#include <dirent.h>

#include "../cjson/cJSON.h"

cJSON*  process_info();
//获取程序执行路径
void   exe_real_path(const char* pid,char* real_path);
void proc_usr_name(const char* pid,char* usr);
void get_pid_status_value(const char* pid,const char* name,char* file_name);
FILE* get_status_file(const char* pid);

#endif // PROC_INFO_H_INCLUDED
